//
//  MyTableViewCell.h
//  SmartRoadShow
//
//  Created by Tracy E on 10-9-19.
//  Copyright 2010 simonwang142232@gmail.com. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "ImageDownloader.h"

@protocol MyTableViewCellDelegate;


@interface MyTableViewCell : UITableViewCell <ImageReceiver>{
	UIImageView *imageView;
	UILabel *titleLabel;
	UILabel *detailLabel;
	UILabel *placeLabel;
	
	UIActivityIndicatorView *waitView;
	
	id<MyTableViewCellDelegate>delegate;
	NSInteger tag;
}
@property (nonatomic, assign) id<MyTableViewCellDelegate>delegate;

- (void)setImage:(UIImage *)image;
- (void)setImageWithURL:(NSString *)url;
- (void)setTitleLabelText:(NSString *)title;
- (void)setDetailLabelText:(NSString *)detail;
- (void)setPlaceLabelText:(NSString *)place;
- (void)setTag:(NSInteger) aTag;

@end

@protocol MyTableViewCellDelegate

-(void)seeDetailInfo:(NSInteger) index;

@end


